#!/usr/bin/python

from commands import getoutput
import os
import sys


version = getoutput('%s ./setup.py --version' % sys.executable)
os.system('%s ./setup.py sdist' % sys.executable)
os.system('%s ./setup.py register' % sys.executable)
os.system('scp dist/dbmigrate-%s.tar.gz theblobshop.com:theblobshop.com/downloads' % version)

